﻿<UserControls1:ScrumUserControl x:Class="ScrumTable.UI.View.WinTouch.UserControls.Menu.RingMenu"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    xmlns:Converter="clr-namespace:ScrumTable.UI.View.Converter;assembly=ScrumTable.UI.View" xmlns:Localization="clr-namespace:ScrumTable.UI.View.Localization;assembly=ScrumTable.UI.View" xmlns:UserControls1="clr-namespace:ScrumTable.UI.View.WinTouch.UserControls" xmlns:Menu="clr-namespace:ScrumTable.UI.View.WinTouch.UserControls.Menu" Panel.ZIndex="10" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    <UserControls1:ScrumUserControl.Resources>
        <DrawingBrush x:Key="Arrow22" Stretch="Uniform">
            <DrawingBrush.Drawing>
                <DrawingGroup>
                    <DrawingGroup.Children>
                        <GeometryDrawing Brush="#FF000000" Geometry="F1 M 78.1398,324.18L 52.5865,298.626C 51.6892,297.728 50.3385,297.459 49.1678,297.946C 47.9971,298.43 47.2305,299.574 47.2305,300.843L 60.6385,326.398L 47.2305,351.952C 47.2305,353.223 47.9971,354.364 49.1678,354.848C 49.5558,355.011 49.9638,355.09 50.3678,355.09C 51.1838,355.09 51.9852,354.77 52.5865,354.171L 78.1398,328.616C 78.7238,328.032 79.0598,327.224 79.0598,326.398C 79.0598,325.572 78.7238,324.764 78.1398,324.18 Z "/>
                    </DrawingGroup.Children>
                </DrawingGroup>
            </DrawingBrush.Drawing>
        </DrawingBrush>
    </UserControls1:ScrumUserControl.Resources>
    <!--<Grid  Background="{StaticResource MenuBackGround}">-->
    <Grid  Background="White">
        <Grid.Resources>
            <Style TargetType="{x:Type s:SurfaceButton}" BasedOn="{StaticResource StyleFeedbackButton}">
                <Style.Setters>
                    <Setter Property="Margin" Value="5"/>                    
                    <Setter Property="VerticalContentAlignment" Value="Stretch"/>
                    <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
                    <Setter Property="Padding" Value="0"/>
                    <Setter Property="Stylus.IsPressAndHoldEnabled" Value="False"/>
                </Style.Setters>
            </Style>
           
        </Grid.Resources>
    
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="75"/>
            <ColumnDefinition Width="Auto"/>            
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <s:SurfaceButton Name="HomeButtonGrid" Click="OnHomeButtonGridClick"  Background="{StaticResource MenuIconHome}" Grid.RowSpan="2" Width="50" Height="50" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,10,0,0"/>
        <Label Name="Title" Grid.Row="0" Grid.Column="1" Foreground="White"/>
        <StackPanel Name="MenuGrid" Grid.Row="1" Grid.Column="1" Margin="0,0,12,0" Orientation="Horizontal"/>       

    </Grid>
</UserControls1:ScrumUserControl>

    